package com.ruoyi.constant;

/**
 *  业务常量
 * @author liuliya
 */
public interface DataConstant {
    /**
     * 一张图左侧树显示类型：1 按行政区  2 按矿山类型
     */
    int REGION_TYPE = 1;
    int KSLX_TYPE = 2;

    /**
     * 矿权类型
     */
    int KQLX_FOR_CKQ = 1; // 采矿权
    int KQLX_FOR_TKQ = 2; // 探矿权
    int KQLX_FOR_JZKCQ = 3; // 集中开采区
    int KQLX_FOR_QT = 4; // 其他

    /**
     * 行政区等级
     */
    Integer REGION_LEVEL_OF_PROVINCE = 1;
    Integer REGION_LEVEL_OF_CITY = 2;
    Integer REGION_LEVEL_OF_COUNTY = 3;

    /**
     * 缓存相关key
     */
    String YZT_TREE_DATA_KEY = "yzt_tree_region:";
    String YZT_TREE_DATA_KEY_OF_PROVINCE = YZT_TREE_DATA_KEY + REGION_LEVEL_OF_PROVINCE;
    String YZT_TREE_DATA_KEY_OF_CITY = YZT_TREE_DATA_KEY + REGION_LEVEL_OF_CITY;
    String YZT_TREE_DATA_KEY_OF_COUNTY = YZT_TREE_DATA_KEY + REGION_LEVEL_OF_COUNTY;

}
